#include "PrimitiveObject.h"

//Inicialization - "sometimes much more efficient...and with consistency" (Efficient C++,Scott Meyers) 
PrimitiveObject::PrimitiveObject (int sType) :
indexData (NULL),
VAOHandle (-1), vertexID (-1), indexID (0),
structType (sType),
numCoords (0), numIndex (0),
coordData (NULL), coordDataN (NULL), coordDataNC (NULL),
transform (glm::mat4 (1))
{
   attribLoc[0] = 0;
   attribLoc[1] = 1;
   attribLoc[2] = 2;
}
void PrimitiveObject::fill (void) {}
void PrimitiveObject::genBuffer (void) {}
void PrimitiveObject::freeBuffer (void) {}
void PrimitiveObject::init (void) {}
void PrimitiveObject::draw () {}
void PrimitiveObject::setTransform (const glm::mat4 &t)
{
   transform = t;
}
const glm::mat4 &PrimitiveObject::getTransform (void)
{
   return transform;
}
PrimitiveObject::~PrimitiveObject ()
{
}
